﻿using God.ShoppingWebApi.DTO;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace God.ShoppingWebApi.WebAdmin
{
  public interface IAdminRoleUserService
    {
        /// <summary>
        /// 权限显示
        /// </summary>
        /// <returns></returns>
        Task<List<RoleUsersDTO>> GetListAsync();
        /// <summary>
        /// 权限添加
        /// </summary>
        /// <param name="commodInfo"></param>
        /// <returns></returns>
        public Task AddAsync(RoleUsersDTO roleUsersDTO);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name = "gu" ></ param >
        /// < returns ></ returns >
        Task DeleteAsync(Guid gu);
        // /// <summary>
        // /// 修改
        // /// </summary>
        // /// <param name = "infoDTO" ></ param >
        // /// < returns ></ returns >
        // Task < RoleUsersDTO > Update(RoleUsersDTO roleUsers);
        // /// <summary>
        // /// 返填
        // /// </summary>
        // /// <param name = "gid" ></ param >
        // /// < returns ></ returns >
        // Task < RoleUsersDTO > Edit(Guid gid);
    }
}
